<div class='formulaire_spip'>
    [<p class="reponse_formulaire reponse_formulaire_ok">(#ENV**{message_ok})</p>]
	[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
    
    <form method='post' action="[(#REM) #ENV{action} ]" id="form_#FORM"><div>    
			#ACTION_FORMULAIRE
			<ul>    
                <li>
                    <label><:alohacart:order_date:></label>
                    <div>[(#DATE|affdate{'d.m.Y, H:i'})]</div>
                </li>
                
                [(#SAISIE{selection, id_statut,
					label=<:alohacart:order_status:>:,
					datas=#STATUTS,
					defaut=1,
					cacher_option_intro=1})]     
                
                [(#SAISIE{input, name, label=<:alohacart:name:>:})]
                
                [(#SAISIE{input, phone, label=<:alohacart:phone:>:})]
                
                [(#SAISIE{input, email, label=<:alohacart:email:>:})]
                
                [(#SAISIE{input, city, label=<:alohacart:city:>:})]
                
                [(#SAISIE{input, address, label=<:alohacart:address:>:})]
                
                [(#SAISIE{textarea, order_comments, label=<:alohacart:order_comments:>:, rows=5})]
                
                [(#SAISIE{input, shipping_titre, label=<:alohacart:shipping_titre:>:})]
                
                [(#SAISIE{input, shipping_cost, label=<:alohacart:shipping_cost:>:})]
                
                [(#SAISIE{textarea, shipping_data, label=<:alohacart:shipping_data:>:, rows=3})]
                
                [(#SAISIE{input, payment_titre, label=<:alohacart:payment_titre:>:})]
                
                [(#SAISIE{textarea, payment_data, label=<:alohacart:payment_data:>:, rows=5})]
                
                <li>
                    <label><:alohacart:order_currency:></label>
                    <div>#CURRENCY_TITRE (<:ecatalogue:currency_rate:> #CURRENCY_RATE)</div>
                </li>
                
                <li>
                    <label><:alohacart:order_total_price:></label>
                    <div>#TOTAL_PRICE (#TOTAL_PRICE_USER) 
                    [(#INVOICE_ACTION_LINK|?{
                        <a href="[(#URL_ACTION_AUTEUR{#INVOICE_ACTION_LINK,#ID_ORDER})]">Сгенерировать счет-фактуру</a>    
                    })]
                     </div>
                </li>
                
                <div class="cadre cadre-e">
		          <img src="#CHEMIN{img/alohacart_google_analytics_22x22.png}" class="cadre-icone" alt="" width="24" height="24" />
		          <div class='titrem[ (#GET{plie}|?{deplie,replie})]' onMouseOver="jQuery(this).depliant('#product_article');">
                  <a href='#' onClick="return jQuery(this).depliant_clicancre('#product_article');" class='titremancre'></a>
			         <:alohacart:ga_visitor_info:>
                  </div>
                <div class='cadre_padding'>
			     <div id="product_article" class="bloc_depliable[ (#GET{plie}|?{blocdeplie,blocreplie})]">
                    [(#SAISIE{input, source_source, label=<:alohacart:ga_source:>:})]
                    [(#SAISIE{input, source_medium, label=<:alohacart:ga_medium:>:})]
                    [(#SAISIE{input, source_term, label=<:alohacart:ga_term:>:})]
                    [(#SAISIE{input, source_content, label=<:alohacart:ga_content:>:})]
                    [(#SAISIE{input, source_campaign, label=<:alohacart:ga_campaign:>:})]
                    [(#SAISIE{input, source_segment, label=<:alohacart:ga_segment:>:})]
			     </div>
		          </div>
                </div>
                
                [(#SAISIE{case, delete_order, label=<:alohacart:order_delete:>})]
                <script type="text/javascript">
                    jQuery(document).ready(function(){
                        jQuery('#champ_delete_order').click(function(){
                            if (jQuery(this).attr('checked'))
                                if (!confirm('<:alohacart:order_delete_confirm:>'))
                                    jQuery(this).attr('checked','')
                        });
                    });
                </script>
			</ul>
            
            <p class='boutons'>
				<input type='submit' name='save_submit' value='<:alohacart:save_and_recalculate:>' />
			</p>
		</div></form>
</div>